-- GENERATED SPELL FOR [Hazzali Sandreaver] --


function spell0_5454(pUnit, Event) --@Arcing Smash,n/a--
pUnit:FullCastSpellOnTarget(8374,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5454', 557, 1)
end

function Sorts_5454(pUnit, Event)
local choix_sorts_5454 = math.random(0, 0)
if choix_sorts_5454 == 0 then
pUnit:RegisterEvent('spell0_5454', 1, 1)
end
end

function mob5454_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5454', math.random(1500, 3000), 1)
end

function mob5454_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5454_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5454_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5454, 1, 'mob5454_Action')
RegisterUnitEvent(5454, 2, 'mob5454_Leave')
RegisterUnitEvent(5454, 3, 'mob5454_Kill')
RegisterUnitEvent(5454, 4, 'mob5454_Die')
